package com.mail.server.service;

import com.mail.dubbo.api.CmsPrefrenceAreaApi;
import com.mail.model.db.CmsPrefrenceArea;
import org.apache.dubbo.config.annotation.DubboReference;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @author gaocq
 * @version 1.0.0
 * @Program hmsc
 * @date 2022/6/24 14:24
 */
@Service
public class CmsPrefrenceAreaService {
    @DubboReference
    private CmsPrefrenceAreaApi cmsPrefrenceAreaApi;

    //查询全部
    public List<CmsPrefrenceArea> listAll() {
        return cmsPrefrenceAreaApi.listAll();
    }
}
